﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>정규표현식 실렉터</title>

    <style type="text/css">
        .red { color:Red; }
        .green { color:Green; }
        .silver { color:Silver; }
    </style>

    <script src="jquery-1.6.2.js" type="text/javascript"></script>
	
	
    <script type="text/javascript">

        $(document).ready(
            function() {
		$("a[href*='dotnet']").addClass("red");
		
		$('a[href$="aspx"]').addClass("green");
		
		$("a[href^='mailto:']").addClass("silver");


            }
        );

    </script>

</head>

<body>
    <a href="http://www.dotnetkorea.com/">닷넷코리아</a>
    <br>
    <a href="http://www.visualacademy.com/Default.aspx">비주얼아카데미</a>
    <br>
    <a href="mailto:redplus@hawaso.com">이메일</a><br>

<a href="http://www.naver.com">네이버</a><br>
<a href="http://www.google.com">구글</a><br>
<a href="http://www.nate.com">네이트</a>

</body>
</html>
